package com.itheima.mall.api.sms;

import com.itheima.mall.pojo.sms.SmsHomeAdvertise;
import com.itheima.mall.vo.PageResult;

public interface HomeAdvertiseServiceApi {
    void createAdvertise(SmsHomeAdvertise smsHomeAdvertise);

    void deleteAdvtertise(int[] ids);

    PageResult<SmsHomeAdvertise> getList(String endTime, String name, Integer pageNum, Integer pageSize, Integer type);

    void updateStatus(Integer id, Integer status);

    void updateAdvertise(SmsHomeAdvertise smsHomeAdvertise);

    SmsHomeAdvertise getAdvertise(Integer id);
}
